Legacy system in software engineering